Psftp usage, psftp
Start PSFTP
Enter
Set PATH = C: \ PSFTP.exe PATH; % PATH %
Then, use psftp to log on to the server.
Ps ftp username@server.example.com
You can also run psftp.exe directly and the following message appears in the command prompt:
Psftp: no hostname specified
Document directory
Use of pscp
Let's take a look at psftp.
Other optional sftp clients
With the popularization of Linux applications on servers, Linux system management is increasingly dependent on remote management. Putty is one of the excellent remote logon tools.
Putty is a free telnet, rlogin, and SSH client on Windows 32, but its functions are not inferior to commercial Telnet tools. It is very easy to use to remotely manage Linux. Its ma
Good tool for remote operation of Linux via SSH: Putty (remote Operation Linux) psftp (remote upload and download)Small footprint, easy to operate, no installation configuration can be used, the official website (http://www.chiark.greenend.org.uk/~sgtatham/putty/) can provide the corresponding software download, free of charge OHto the Unix-center.net/unix Experience Center after registering the account can be used putty login to learn Unix;
Psftp is part of putty and can be used independently, but it is recommended that you go to http://www.chiark.greenend.org.uk /~ Download the complete putty installation package from sgtatham/Putty/download.html. After the installation, you have an almost complete remote access solution.
Psftp is a client program that supports SFTP protocol. SFTP is often used for projects that upload files or maintain Sour
1.putty Official DownloadHttp://www.chiark.greenend.org.uk/~sgtatham/putty/download.htmlDownload the installation versionputty-0.67-installer.msi2. After the installation is complete, open the Putty installation directory, locate the PSFTP.EXE, and copy to the new folder D:/download3. Double-click Open Pstftp.exe, connect to Linux Server4. Set up a local directory to download to Windows5.psftp common commands (files on the operation server are common
Psftp is an SFTP tool under the Putty tool. SFTP (Secure file Transfer Protocol) Secure Files Transfer Protocol, SFTP is part of SSH and is a secure way to transfer files to the Blogger server. In fact, in the SSH package, a secure file transfer subsystem called SFTP (secure files Transfer Protocol) has been included, and SFTP itself does not have a separate daemon. It must use the sshd daemon (the port number by default is 22) to complete the corresp
Upload
SFTP, the first heard, but also thought that the company made a dongdong, Google a bit, the original is an FTP protocol, is a trusted FTP, similar to the HTTPS protocol.
This project is to be some data files packaged through the SFTP to Germany's server, so midway is the need to encrypt transmission, that is, through the SFTP data upload action.
Looking for an open source Dongdong, Psftp, is a green exe file, C # control is also very convenient
file-S remote command is a SSH subsystem (SSH-2 only)-N don ' t start a shell/command (SSH-2 only)
For example, the contents of the following bat script:
echo/backup_tomcat.sh > Comd.txtEcho Exit >> Comd.txt
Putty-ssh-l%user%-pw%pwd%-P%port%%ip%-M comd.txt >> Aa.log
D:\Program Files (x86) \putty>psftp-hPuTTY Secure File Transfer (SFTP) clientRelease 0.63usage:psftp [Options] [User@]hostOptions:-V Print version information and exit-PGPFP print PGP
uploading items to the server, you need to open ports, and ports generally have their own role, so open ports need to be aware.
To implement uploads using putty, you need to be aware that you need to download the. zip format, because the. exe encapsulates the following tools. Open the Putty folder, which will be like pscp.exe,psftp.exe these tools, they can be used to transfer files, the role with the SCP command in Putty Upload project is similar, here SCP is the meaning of secure copy. It i
Use SSH to transfer files between linux and linux, and between linux and windows-Linux Enterprise Application-Linux server application information. For more information, see the following. Transfer files between linux and linux:
Scp file username @ hostIP: file address example:
Scp abc.txt endall @ IP:/home/endall/abc.txt
Transfer files between windows and linux:
I use putty's built-in PSCP. Others such as SSH Secure File Transfer Client
First, in WIN's DOS, PUTTY, and PSCP files.
uninstalled in a convenient and orderly manner through the tools in the Ports system. And it complies with the various specifications that the FreeBSD system imposes on the application software. Eliminates the hassle of looking around for software, compiling, installing, and upgrading yourself. With the efforts of these ports maintainers, you don't have to worry about the software being incompatible with the system, causing the upgrade to be installed, and so on.④sudo port-v SelfUpdateUpdate po
files under Linux to Windows:
clip_image008
As Chinese is also supported by OH.
clip_image009
In fact, there are similar commands in Linux: such as the SCP. is the SSH protocol, Port 22.
Psftp
Psftp Fred@hostname-b Batchfile
Similar to SFTP in Linux.
Psftp is like FTP, but ftp with telnet they are plaintext, unsafe. It feels like you're logged on to this
put it in memory for use.4. Puttygen: is a key generation program. The ability to generate symmetric public and private keys for putty,pscp.plink,pageant use.
Transfer files between Windows and Linux:The author uses Putty built-in PSCP. Others such as SSH Secure File Transfer Client
First in the Win DOS, Putty directory, that is, PSCP file directory. Of course, this variable is added to the environment variable in path.
PSCP file Username@hostip: Address
Example: PSCP d:abc.txt endall@ip:/home/
entire folder, which is fast. You can also enumerate and view Linux Server resources.
Putty is a free telnet, rlogin, and ssh client on Windows 32, but its functions are not inferior to commercial telnet tools. It is very easy to use to remotely manage Linux. Its main advantages are as follows:
◆ Windows 9x, NT, and 2000 run very well;◆ Full support for ssh1 and ssh2;
The software included in putty:PuTTy actually includes 6 software groups. The most commonly used software is putty.exe. The othe
. The record name you entered will appear in the large box in the middle. Then, when you want to log on to the SSH host, click test.linux.org (the record name you just set) to access the host you selected ??? Br/>
(400) {this. resized = true; this. width = 400; this. alt = 'click here to open new window';} "onmouseover =" if (this. resized) this. style. cursor = 'hand'; "onclick =" window. open ('HTTP: // www.chinaitlab.com/www/special/pic/dishisanpic/?gif'); ">
The entire putty process is li
key are generated in/home/msa/. ssh/: id_rsa id_rsa.pub
4) cat id_rsa.pub> authorized_keys
As to why the file should be generated, this is what is written in sshd_config.
Then chmod 400 authorized_keys will be slightly protected.
5) use psftp to pull id_rsa back to the local machine, and then kill id_rsa and id_rsa.pub on the server.
6) configure/etc/ssh/sshd_config
Protocol 2
ServerKeyBits 1024
PermitRootLogin no # prohibit root login. it has nothin
Using SSH to transfer files between Linux and Linux,linux and WindowsTransferring files between Linux and Linux:SCP file [email protected]: Document Address Example:SCP Abc.txt [Email protected]:/home/endall/abc.txtTransferring files between Windows and Linux:The author uses Putty's built-in PSCP. Other such as SSH Secure File Transfer ClientFirst in the Win DOS, Putty directory and pscp file directory.PSCP file [email protected]: addressExample: PSCP d:abc.txt [Email protected]:/home/endall/abc
Remote server is a Linux operating system, no FTP service, can ssh, the database will automatically create a backup file 2:00 every day, the local computer is the Windows operating system, you want to use SFTP 3:00 every day to download the backup files on the remote server. The local system is Linux, and you can refer to another article, "Automatic sftp download file under Linux".The SFTP tool under Windows uses the Psftp.exe in the Putty Toolkit:Http://www.chiark.greenend.org.uk/~sgtatham/putt
Method One: Using the original ecological psftp
1. Download Psftp.exe
Http://pan.baidu.com/s/1boVLHKF
2. Double-click Psftp.exe
; 2.1 Input directive: Open IP Address (ex: Open 172.16.10.153)
2.2 Prompt Login as: Enter username, such as root
2.3 Prompts [email protected] ' s password: Enter a password, such as 123456 (hidden at input)
3. Common commands:
ls for viewing the session Linux Termin
Files \ PuTTY> pscp spark@10.126.45.56:/home/spark/opt/java/tomcat6/webapps/clover-admin-dev.war D ://
You can see this file in windows D: //.
Note: Only files can be uploaded using pscp, but directories cannot be uploaded. You can use psftp to upload directories.
You can use open to open remote hosts, change the remote directory with cd, change the local directory with LCD, view the remote file list with ls, upload files with put, and download fi
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.